<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <!--<link rel="stylesheet" type="text/css" href="../reset.css"/>-->
    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="css/swiper.min.css">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background: blue;
        }
        header{
            /*position: fixed;
            top: 0;*/
            background: red;
            width: 100%;
            height: 40px;
            line-height: 40px;
            text-align: center;
            z-index: 99;
        }
        #wrap{
            /*margin-top:40px;*/
            overflow: hidden;
        }
        section{
            background: green;
            height: 300px;
            margin-bottom: 1px;
            color: white;
        }
        /*#wrapper{
            position: absolute;
            height: 100%;
            width: 100%;
            z-index: 1;
        }*/
        html,body{
            height: 100%;
            overflow: hidden;
        }

        .box{
            display:block;
            display: -webkit-box;
            display: flex;
            display:-webkit-flex;
            overflow: hidden;
            flex-direction: column;
            width: 100%;
            height:100%;
            -webkit-box-orient: vertical;
        }
        #wrapper{
            overflow: hidden;
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;

        }
        .swiper-container {
            width: 100%;
            height: 200px;
        }
        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;


            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }
        .swiper-slide a{
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
<div class="box">
    <header>导航栏</header>
    <div id="wrapper">
        <div id="wrap">
            <!-- Swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><a href="../../3d热气球.html">Slide 1</a></div>
                    <div class="swiper-slide"><a href="../../3d热气球.html">Slide 2</a></div>
                    <div class="swiper-slide"><a href="../../3d热气球.html">Slide 3</a></div>
                    <div class="swiper-slide"><a href="../../3d热气球.html">Slide 4</a></div>
                </div>

                <div class="swiper-pagination"></div>
            </div>
            <section>1</section>
            <section>2</section>
            <section>3</section>
            <section>4</section>
            <section>5</section>
        </div>
    </div>
</div>
<script src="js/zepto.min.js"></script>
<script src="js/swiper.min.js"></script>

<script type="text/javascript" src="js/iscroll.js" ></script>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        direction: 'vertical',
    });
    var myscroll;
    function loaded(){
        setTimeout(function(){
            myscroll=new IScroll("#wrapper");
        },100 );
    }
    window.addEventListener("load",loaded,false);

    $("#wrapper").one("touchstart",function(){
        myscroll.refresh();
    });
</script>
</body>
</html>

index.html